package com.tulele.vtool.bus.mapper;

import com.tulele.vtool.bus.model.LookArticleInfo;
import org.springframework.stereotype.Component;

@Component(value = "lookArticleInfoMapper")
public interface LookArticleInfoMapper {

    /**
     * 获取查看文章用户数目
     * @param userId
     * @return
     */
    Integer queryLookArticleUserCount(Integer userId);

    /**
     * 添加文章查看信息
     * @param lookArticleInfo
     * @return
     */
    int addLookArticleInfo(LookArticleInfo lookArticleInfo);

}